package com.example.scribe.error;

public enum ErrorType {
    SYNTAX_ERROR("语法错误"),
    TYPE_ERROR("类型错误"),
    PARSE_ERROR("解析错误");

    private final String message;

    ErrorType(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}